﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace StudentInBinary
{
    [Serializable]
    class Student
    {
        string firstName;
        string lasName;
        int facNumber;

        public Student(string firstName, string lasName, int facNumber)
        {
            this.firstName = firstName;
            this.lasName = lasName;
            this.facNumber = facNumber;
        }

        public string FirstName
        {
            get
            {
                return firstName;
            }
            set
            {
                firstName = value;
            }
        }

        public string LasName
        {
            get
            {
                return lasName;
            }
            set
            {
                lasName = value;
            }
        }

        public int FacNumber
        {
            get
            {
                return facNumber;
            }
            set
            {
                facNumber = value;
            }
        }
    }
}
